.newsArea{
    //tab选择
    .tabs{
        border-bottom: 1px solid #bbb;
        li{
            cursor: pointer;
            border: 1px solid #bbb;
            border-bottom: none;
            border-top-left-radius: 2px;
            border-top-right-radius: 2px;
            margin-right: 2px;
            padding: 5px 16px;
            font-size: 12px;
            color: #666;
            text-align: center;
            display: inline-block;
            z-index: 999;
            background-color: rgb(249, 249, 249);
            &.cur{
                color: #5491de;
                border-bottom: 1px solid #ffffff;
                background-color: #ffffff;
                transform: translateY(1px);
                line-height: 20px;

            }
            &:not(:first-child){
                margin-left: 2px;
            }
        }
    }
    //提示语
    .tips{
        padding: 10px 16px;
        background: #f2f8ff;
        color: #101010;
        font-size: 12px;
        margin-top: 21px;
        i{
            margin-right: 10px;
            color: #5491DE;
            font-size: 18px;
        }
    }
    .newsView{
        margin-top: 28px;
        //列表
        .newsList{
            .news-pagination {
                margin-bottom: 25px;
            }
            .container{
                width:100%;
                margin: 0 auto;
                @media screen and (min-width: 1880px) {
                    .news {
                        column-count:5;
                        -moz-column-count:5;
                        -webkit-column-count:5;
                        -moz-column-gap:20px;
                        -webkit-column-gap:20px;
                        column-gap:20px;
                        padding-top: 20px;

                    }
                }
                @media screen and (max-width: 1880px) {
                    .news {
                        column-count:4;
                        -moz-column-count:4;
                        -webkit-column-count:4;
                        -moz-column-gap:20px;
                        -webkit-column-gap:20px;
                        column-gap:20px;
                        padding-top: 20px;

                    }
                }
                @media screen and (max-width: 1580px) {
                    .news {
                        column-count:3;
                        -moz-column-count:3;
                        -webkit-column-count:3;
                        -moz-column-gap:20px;
                        -webkit-column-gap:20px;
                        column-gap:20px;
                        padding-top: 20px;

                    }
                }
                @media screen and (max-width: 1260px) {
                    .news {
                        column-count:2;
                        -moz-column-count:2;
                        -webkit-column-count:2;
                        -moz-column-gap:20px;
                        -webkit-column-gap:20px;
                        column-gap:20px;
                        padding-top: 20px;

                    }
                }
                .news{
                    -moz-column-gap:20px;
                    -webkit-column-gap:20px;
                    column-gap:20px;
                    padding-top: 20px;
                    //图文列表
                    li{
                        border: 1px solid #d9d9d9;
                        padding: 15px;
                        margin-bottom: 15px;
                        cursor: inherit;
                        display: inline-block;
                        width: 300px;
                        -moz-page-break-inside: avoid;
                        -webkit-column-break-inside: avoid;
                        break-inside: avoid;
                        //创建时间
                        .createTime{
                            font-size: 12px;
                            color: #999;
                            padding: 10px 0;
                            border-bottom: 1px solid #d9d9d9;
                        }
                        //首个单条图文
                        .singleNews{
                            padding: 10px 0;
                            border-bottom: 1px solid #d9d9d9;
                            h1{
                                font-size: 14px;
                                color: #666;
                                word-wrap: break-word;
                            }
                            img{
                                width: 100%;
                            }
                            p{
                                font-size: 12px;
                                color: #999;
                            }
                        }
                        //小的普通图文
                        .tinyNews{
                            padding: 10px 0;
                            border-bottom: 1px solid #d9d9d9;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            img {
                                width: 60px;
                                height: 60px;
                            }
                        }
                        //删除 编辑按钮组
                        .btns{
                            padding-top: 10px;
                            overflow: hidden;
                            .btn{
                                float: right;
                                width: 40px;
                                height: 22px;
                                line-height: 22px;
                                text-align: center;
                                font-size: 12px;
                                border-width: 1px;
                                border-style: solid;
                                border-radius: 2px;
                                margin-left: 10px;
                                padding: 0;
                                cursor: pointer;
                                &.private{
                                    border-color: #d9d9d9;
                                    background: #fff;
                                    color: #666;
                                }
                                &.normal{
                                    border-color: #5491de;
                                    background: #5491de;
                                    color: #fff;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    
    //编辑
    .newsEdit{
        margin-top: 18px;
        .editLeft{
            width: 375px;
            float: left;
            .ehead{
                height: 65px;
                padding: 28px 10px 10px 10px;
                background: #333333;
                color: #fff;
                font-size: 14px;
                text-align: center;
                position: relative;
                .back{
                    position: absolute;
                    left: 10px;
                    top: 28px;
                }
            }
            .econtent{
                padding: 10px 10px 85px 10px;
                background: #f7f7f7;
                margin-bottom: 80px;
                min-height: 550px;
                li{
                    padding: 10px;
                    border: 1px solid #d9d9d9;
                    cursor: initial;
                    &:not(:first-child){
                        margin-top: 9px;
                    }
                }
                .singleNews{
                    h1{
                        font-size: 20px;
                        color: #666;
                    }
                    .createTime{
                        font-size: 12px;
                        color: #999;
                    }
                    img{
                        width: 100%;
                        margin: 10px 0;
                    }
                    p{
                        font-size: 14px;
                        color: #666;
                    }
                    .read{
                        font-size: 12px;
                        color: #999;
                    }
                }
                .tinyNews{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    position: relative;
                    text-align: center;
                    p{
                        font-size: 14px;
                        color: #666;
                    }
                    img{
                        width: 60px;
                        height: 60px;
                    }
                    a{
                        position: absolute;
                        right: -10px;
                        top: -10px;
                        text-decoration: none;
                        background: #ccc;
                        width: 20px;
                        height: 20px;
                        line-height: 20px;
                        color: #fff;
                        border-radius: 50%;
                    }
                }
                li.tinyNews.active{
                    border: 1px solid #5491DE !important;
                }
                .addNewItem{
                    width: 100%;
                    height: 80px;
                    display: flex;
                    color: #ccc;
                    font-size: 12px;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    span:first-child{
                        font-size: 26px;
                    }
                }
            }
        }
        .editRight{
            margin-left: 41px;
            float: left;
            padding: 20px;
            border: 1px solid #A9A9A9;
            margin-bottom: 65px;
            .editPart:not(:first-child){
                margin-top: 10px;
            }
            label{
                font-size: 12px;
                color: #333;
            }
            .editPart .ant-checkbox-wrapper span {
              color: #333;
            }
            .editPart span{
                font-size: 10px;
                color: #b1b1b1;
            }
            .editPart .link{
                word-break: break-all;
            }
            input[type=text]{
                color: #000;
                width: 300px;
                border: 1px solid #D9D9D9;
                height: 32px;
                font-size: 12px;
                outline: none;
                padding-left: 5px;
                margin-top: 5px;
                &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
                  color: #999;
                }
                &::-moz-placeholder { /* Firefox 19+ */
                  color: #999;
                }
                &:-ms-input-placeholder { /* IE 10+ */
                  color: #999;
                }
                &:-moz-placeholder { /* Firefox 18- */
                  color: #999;
                }
            }
            span{
                display: inline-block;
                margin-left: 5px;
            }
            textarea{
                color: #333;
                width: 377px;
                height: 80px;
                outline: none;
                font-size: 12px;
                resize: none;
                padding-left: 5px;
                margin-top: 5px;
            }
            .pic{
                width: 64px;
                height: 64px;
                background-repeat: no-repeat;
                background-size: cover;
                margin: 8px 0;
                cursor: pointer;
            }
            .fpic{
                text-align: center;
                line-height: 64px;
                font-size: 20px;
                color: #101010;
                border: 1px dashed #d9d9d9;
            }
            .radioTeam{
                display: flex;
                align-items: center;
                input{
                    width: auto;
                    margin-right: 5px;
                }
            }
            #container4UEditor {
                margin-top: 5px;
            }
        }
        .newsEditButtom{
            width: 100%;
            height: 60px;
            background: #F7F7F7;
            position: fixed;
            z-index: 1000;
            margin-top: -5px;
            margin-left: -10px;
        }
    }
}